package com.topeet.serialtest;

public class serial {

	static {
		System.loadLibrary("serialtest");
	}

	public native int 	Open(int Port,int Rate);
	public native int 	Close();
	public native int[]	Read();
	public native int	Write(int[] buffer,int len);
	public native int	Setaudiophone(int control);
	public native int	Setaudioremote(int control);
	public native int	Setaudiolocal(int control);

}
